package lab02.test13;

public class Test13 {
    public static void main(String[] args) {
        School a = new School();
        System.out.print("以加起来除以个数求平均数：");
        a.average(45, 45, 45, 45);
        System.out.println(a.average);

        Gymnastics b = new Gymnastics();
        System.out.print("以去掉一个最高分和最低分再求平均数：");
        b.average(45, 78, 96, 15);
        System.out.println(b.average);
    }
}
